
include $(OOBC_HOME)/shared/defs.mk

TEST_GENERATOR=$(PYTHON) $(TESTNGPP_ROOT)/testngpp/generator/testngppgen.pyc 

testngpp-include-path=$(TESTNGPP_ROOT)/include
mockcpp-include-path=$(MOCKCPP_ROOT)/include

testngpp-lib-path=$(TESTNGPP_ROOT)/lib
mockcpp-lib-path=$(MOCKCPP_ROOT)/lib

all-tests-files=$(shell ls $(PWD)/Test*.h)
suite-name=$(notdir $(PWD))
project-home=$(PWD)/../..
sut-src=$(project-home)/src/$(suite-name).cc
extra-srcs=

LINK=g++ -fPIC -shared -Wl,--no-undefined 

TESTSUITE=Test$(suite-name).so

.PHONY: all clean build-only

all : build-only
	@$(testngpp-runner) $(TESTSUITE) -L$(TESTNGPP_ROOT)/testngpp/listener -l"testngppstdoutlistener -s -c -v" -s

build-only: $(TESTSUITE)

clean : 
	@rm -f $(TESTSUITE) $(PWD)/*.cc
